fix(FR-2836): remove unused revision name field from Add Revision modal#7291
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has required the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
28899a8 to
1dad518
Compare
56c7a2e to
73e58ea
Compare
There was a problem hiding this comment.
Pull request overview
Removes the unused “Revision Name” field from the Add Revision modal and cleans up associated frontend plumbing (form typing, mutation payload, and i18n keys) to avoid sending an ignored name value to the backend.
Changes:
- Removed the
Revision Nameform item fromDeploymentAddRevisionModaland droppednamefrom the form value type and mutation variables. - Deleted unused i18n keys
deployment.RevisionNameanddeployment.RevisionNamePlaceholder. - Removed the corresponding translations across all supported
resources/i18n/*.jsonlocale files.
Reviewed changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| react/src/components/DeploymentAddRevisionModal.tsx | Removes the Revision Name input and stops sending name in the addModelRevision mutation payload. |
| resources/i18n/en.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/de.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/el.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/es.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/fi.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/fr.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/id.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/it.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/ja.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/ko.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/mn.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/ms.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/pl.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/pt.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/pt-BR.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/ru.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/th.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/tr.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/vi.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/zh-CN.json | Removes unused deployment.RevisionName* translation keys. |
| resources/i18n/zh-TW.json | Removes unused deployment.RevisionName* translation keys. |
1dad518 to
af491a6
Compare
Merge activity
|
73e58ea to
316c42a
Compare
af491a6 to
71dfa8d
Compare
71dfa8d to
4e858ab
Compare
…al (#7291) Resolves #7290 ([FR-2836](https://lablup.atlassian.net/browse/FR-2836)) > Stacked on top of #7289 ## Summary - Remove the unused `Revision Name` text input from the `Add Revision` modal. - Drop `name` from the `FormValues` type and from the `addModelRevision` mutation payload. - Delete the now-unused i18n keys `deployment.RevisionName` and `deployment.RevisionNamePlaceholder` across all 21 supported locales. ## Test plan - [ ] Open the deployment page and click `Add Revision`. - [ ] Verify the `Revision Name` input is no longer present. - [ ] Submit the modal — the new revision is created without sending a `name` to the backend. - [ ] Confirm no missing-i18n-key warnings appear in the dev console. [FR-2836]: https://lablup.atlassian.net/browse/FR-2836?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
4e858ab to
a14943a
Compare
Coverage Report for react-coverage (./react)
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

Resolves #7290 (FR-2836)
Summary
Revision Nametext input from theAdd Revisionmodal.namefrom theFormValuestype and from theaddModelRevisionmutation payload.deployment.RevisionNameanddeployment.RevisionNamePlaceholderacross all 21 supported locales.Test plan
Add Revision.Revision Nameinput is no longer present.nameto the backend.